/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package InternetHax;

import java.util.Random;
import java.util.Vector;

/**
 * Holds global information about the game including the oh-so-important Map
 * object that everything in the game needs to look at in one way or another
 * Some things that are stored here do not nessicaily need to be global and will
 * be refactored or removed later
 * @author LoginError
 */
public class Gamestate {

    public static GameMidlet midlet;
    public static boolean running = true; //set this to false in order to shut down the entire program
    public static Random generator; //a random number generator for conveniant access
    public static Map theMap; //the afformentioned map
    public static int screenWidth,  screenHeight;//screen widths and heights in pixels
    public static Point2d centerScreen;    //center of the screen in pixels
    public static GameManager gameManager; //kindof controls the whole game flow
    public static AppManager appManager;
    public static ResourceManager resourceManager;
    public static Vector debugTiles;
    public static Hero theHero;            //for great justice
    public static Console console;
    public static Menu modalMenu;
    public static int uiDetailColor = 0xFFFFFF; //0x00FF00;
    public static int uiBackgroundColor = 0x000000;
    public static int uiFontColor = 0xFFFFFFFF;//0xFF00FF00; //note, alpha is first
    public static Font59 font;
    public static int fontColor;
    public static int state = Constants.STATE_ERROR;
    public static boolean invertNumpad = true; //set to true when running on an emualtor to flip the numpad
    public static String heroName = "The Hero";
    public static TextMenu menu;
    public static DirectionMenu dirMenu;
    public static Menu9 invMenu;
    public static boolean printDebug = false;
    
}
